package com.gill.aop.controller;

import com.gill.aop.service.Service1;
import com.gill.aop.service.Service2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class Controller1 {

	@Autowired
	private Service1 service1;

	public void handleRequest(){
		service1.print();
		service1.doError();
	}

}
